const MESSAGE_ID_TO_CHAT_ID_MAP = new Map()

MESSAGE_ID_TO_CHAT_ID_MAP.set("sss", "aaa")
MESSAGE_ID_TO_CHAT_ID_MAP.set("bbb", "ccc")


console.log(MESSAGE_ID_TO_CHAT_ID_MAP)
console.log(MESSAGE_ID_TO_CHAT_ID_MAP.get("sss"))
console.log(MESSAGE_ID_TO_CHAT_ID_MAP.get("bbb"))
if (MESSAGE_ID_TO_CHAT_ID_MAP.get("bbbb")) {
    console.log("bbbb存在")
} else {
    console.log("bbbb不存在")
}


MESSAGE_ID_TO_CHAT_ID_MAP.delete("sss")
console.log(MESSAGE_ID_TO_CHAT_ID_MAP)
console.log(MESSAGE_ID_TO_CHAT_ID_MAP.size)
console.log(MESSAGE_ID_TO_CHAT_ID_MAP.has("bbb"))

MESSAGE_ID_TO_CHAT_ID_MAP.clear()

console.log(MESSAGE_ID_TO_CHAT_ID_MAP)
MESSAGE_ID_TO_CHAT_ID_MAP.set("ddd", "fff")
console.log(MESSAGE_ID_TO_CHAT_ID_MAP)
console.log(typeof MESSAGE_ID_TO_CHAT_ID_MAP)
console.log(MESSAGE_ID_TO_CHAT_ID_MAP instanceof Map)